From 306ee6d9a54dd4652712e835d8390e90eff72790 Mon Sep 17 00:00:00 2001 From: Lucas Baudin Date: Sun, 13 Dec 2015 19:24:50 +0100 Subject: [PATCH] wayland: recursively search for the settings schema. On some systems, the gtk settings are not used properly for wayland. Indeed, g_settings_schema_source_get_default is used, and as the docs says it, "all lookups performed against the default source should probably be done recursively.". https://bugzilla.gnome.org/show_bug.cgi?id=759409 --- gdk/wayland/gdkscreen-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c index e60e9fcd8f..ec0d403425 100644 --- a/gdk/wayland/gdkscreen-wayland.c +++ b/gdk/wayland/gdkscreen-wayland.c @@ -631,7 +631,7 @@ init_settings (GdkScreen *screen) if (g_hash_table_lookup (screen_wayland->settings, (gpointer)translations[i].schema) != NULL) continue; - schema = g_settings_schema_source_lookup (source, translations[i].schema, FALSE); + schema = g_settings_schema_source_lookup (source, translations[i].schema, TRUE); if (schema != NULL) { settings = g_settings_new_full (schema, NULL, NULL); -- 2.30.2